﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JzSport.Model
{
    /// <summary>
    /// 消息
    /// </summary>
    public class Message
    {
        /// <summary>
        /// 消息编号
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 发送人
        /// </summary>
        public int SenderId { get; set; }

        /// <summary>
        /// 接收人
        /// </summary>
        public int ReceiverId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// Guid
        /// </summary>
        public Guid MessageClipId { get; set; }

        public bool IsDeleted { get; set; }

        public Message()
        {
            IsDeleted = false;
        }
    }
}
